<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div class="box" >222</div>
    <style type="text/css">
       .box{ width:400px; height:400px; border:1px solid #F00;}
    
        border-image-source: url(border.png);
        border-image-width: 81px;
        border-width: 20px;
        border-image-width: 27px;
        border-image-slice: 27;
        border-image-slice: 81;
        border-image-slice: 0 fill;
        border-image-slice: 33.5%;
        border-image-slice: 27 0;

    
    </style>
</body>
</html>